home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir31 / ttdoc152.zip / CHAPT3.DOC < prev    next >
Text File  |  1992-11-12  |  23KB  |  478 lines

  1.               CHAPTER 3: WHAT'S AVAILABLE IN APPLICATION MODE
  2.  
  3. This chapter describes the facilities that Tinytalk provides you with while
  4. you're running an application: immediate output, keyboard echo, cursor
  5. tracking, hot keys, the independent cursor, automatic pop-up window
  6. reading, form filling and continuous document reading.
  7.  
  8. While discussing these facilities, we're sometimes going to need to talk
  9. about settings.  For example, keyboard echo can be set to read your
  10. keystrokes as letters, words, or not at all.  In the next chapter, we'll
  11. discuss in detail how to change these settings, since changing them is
  12. something that you do in review mode.  If you find yourself getting lost in
  13. a discussion of settings, skim over the section that's giving you trouble
  14. and then come back to it after you've read the section in Chapter 4
  15. regarding settings.
  16.  
  17.                         SECTION 1: IMMEDIATE OUTPUT
  18.  
  19. Tinytalk will automatically speak anything that the application program
  20. puts on the screen using DOS or BIOS output.  The utilities supplied with
  21. DOS use this method of output, but most full-screen application programs
  22. don't use it.  Immediate output will pick up the DOS prompt, directory
  23. listings, and anything that you display using the DOS "type" command, for
  24. example.
  25.  
  26. Some programs that use DOS or BIOS output will talk too much, so Tinytalk
  27. provides you with several ways of suppressing this excess output.  We'll
  28. talk about one of them (timed shutup) later in this chapter, another one
  29. (verbosity setting) in the next chapter when we go into detail about
  30. settings, and yet another (silent windows) when we talk about how to set up
  31. window definitions.
  32.  
  33.                          SECTION 2: KEYBOARD ECHO
  34.  
  35. Tinytalk watches what you type at the keyboard and "echoes" your keystrokes
  36. so that you know whether you really typed what you intended to type.  Since
  37. different people have different ideas of how much they want to hear,
  38. Tinytalk lets you choose whether you want keystrokes to be echoed whenever
  39. you type a single letter, only when you type a whole word, or not at all. 
  40. In addition, you can choose whether you want each keystroke to shut up any
  41. speech that's still going out.  You can choose what, if any, punctuation
  42. keys you want to hear echoed, regardless of what punctuation symbols you
  43. want to hear in other cases (for example, many people want to hear when
  44. they've typed a comma, but don't want to hear commas when they're reading
  45. existing text).
  46.  
  47. Tinytalk normally echoes only those keystrokes that generate printable
  48. characters (letters, numbers, punctuation and spaces).  Cursor-movement
  49. keys cause Tinytalk to read whatever the cursor moves to (see below). 
  50. Function keys, modifier keys (shift, control and alt) and the ENTER key
  51. normally don't get echoed at all.  If you want, though, you can use
  52. Tinytalk's key labelling feature (see Chapter 4, Section 8) to specify a
  53. "label" that will be spoken when you press those keys.
  54.  
  55. You can set an option (see Chapter 4, Section 2) for Tinytalk to announce
  56. changes in the state of the "locks"--caps lock, scroll lock and num lock. 
  57. If you turn this option on, Tinytalk will say "caps lock on" or "caps lock
  58. off" whenever you press the Caps Lock key, for example.
  59.  
  60. Tinytalk provides a couple other facilities that are related to keyboard
  61. echo.  If you forget that you have Caps Lock turned on and start typing
  62. regular text, Tinytalk will buzz the speaker if you hold down the shift key
  63. and type a letter, alerting you that your text is going to come out in
  64. reversed case (everything capitalized except the first word in a sentence). 
  65. You can also set a right margin bell that will ring when you type beyond a
  66. certain column; you might want to do this if you were using a text editor
  67. (such as the message editors on some on-line services) that didn't wrap
  68. words.
  69.  
  70. If you fill out printed forms by loading a blank form into a word processor
  71. or editor and then filling in the blanks, you can activate Tinytalk's
  72. "typeover alert" which will cause the speaker to beep when you're within
  73. three characters of typing over existing text.
  74.  
  75. SECTION 3: CURSOR TRACKING
  76.  
  77. When you use cursor-movement keys, Tinytalk will track the cursor and read
  78. the part of the screen it moves to.  In many cases this will let you find
  79. your context in a word processor or database program without having to go
  80. into review mode.  Tinytalk recognizes three kinds of cursor moves, based
  81. on the key you use: Horizontal moves, vertical moves, and word moves. 
  82. Tinytalk performs an action (usually reading part of the screen) for each
  83. kind of move; you can specify what these actions should be.  Tinytalk also
  84. tracks your use of the backspace and delete keys. 
  85.  
  86. HORIZONTAL MOVES
  87.  
  88. If you use the left or right arrow keys (or the Wordstar equivalents
  89. control-s or control-d) or the home or end keys, Tinytalk will assume
  90. you're moving horizontally.  By default, Tinytalk will speak the character
  91. that you move onto.  There are several other choices for what to speak;
  92. these will be discussed in Chapter 4, Section 2.
  93.  
  94. VERTICAL MOVES
  95.  
  96. If you use the up or down arrow keys (or control-e or control-x), Tinytalk
  97. will assume you're moving vertically.  The default action is to speak the
  98. entire line that you move to.  As with horizontal moves, you can choose to
  99. have other portions of the screen spoken.
  100.  
  101. In some applications, the tab and enter keys act as cursor movement keys
  102. (moving between fields in a database record, for example).  You can tell
  103. Tinytalk to perform the vertical movement action when you press these keys.
  104.  
  105. WORD MOVES
  106.  
  107. If you use control-leftarrow or control-rightarrow (or the Wordstar
  108. equivalents control-a or control-f), Tinytalk will read the entire word you
  109. move onto.
  110.  
  111. Applications have different ideas about what a word is.  For example, some
  112. word processors treat the phrase "user-friendly software" as two words
  113. while others treat it as three.  Tinytalk needs to know which is which so
  114. that it can read the appropriate amount ("user" or "user-friendly"); this
  115. is the "word terminator" option that will be discussed in Chapter 4,
  116. Section 2.
  117.  
  118. BACKSPACES AND DELETES
  119.  
  120. If you use the backspace or delete key, Tinytalk will try to speak the
  121. character that got deleted.  In most programs, the backspace key deletes
  122. the character to the left of the cursor and moves the cursor left one
  123. position; the delete key deletes the character the cursor is on and "pulls"
  124. any text to the right of the cursor left one position.  If you backspace
  125. past a line boundary, Tinytalk may not be able to find the character that
  126. got deleted.
  127.  
  128. If you use Control-Y, the command for deleting a line in many editors,
  129. Tinytalk will read the next line.
  130.  
  131. GRAPHIC CHARACTERS
  132.  
  133. If Tinytalk is reading a character at a time and comes across a graphic
  134. character, it will announce it as either "corner" (if it's one of the box-
  135. corner symbols), "linedraw" (if it's a line-drawing symbol other than a
  136. corner) or "graphic" (if it's none of the above).  Tinytalk will then read
  137. the 3-digit ASCII code for the graphic character (there's an option you can
  138. set to stop this if you aren't interested in the codes).  You can define
  139. your own names for graphic characters; see Chapter 4, Section 10. 
  140.  
  141. PAUSES
  142.  
  143. Tinytalk will sometimes pause slightly before speaking when you move the
  144. cursor.  It has to do this because some applications move the cursor to an
  145. intermediate location before putting it in its final position.  For
  146. example, some editors will briefly move the cursor to a status line.  The
  147. pause ensures that the right text will be read.
  148.  
  149. SECTION 4: HOT KEYS
  150.  
  151. Hot keys are keystrokes that tell Tinytalk to do something when you're in
  152. application mode.  The key combinations have been chosen to be ones that
  153. application programs are unlikely to use.  If you want to change them, you
  154. can use the "hotkey remapping" feature (see Chapter 4, Section 7).   If an
  155. application program needs to use one of these keystrokes, you can tell
  156. Tinytalk to pass it through to the program.
  157.  
  158. QUICK FLUSH
  159.  
  160. Pressing the Alt key will stop whatever is being spoken and flush the
  161. synthesizer's speech buffer.
  162.  
  163. TIMED SHUTUP
  164.  
  165. Pressing Alt-slash will stop whatever is being spoken and also prevent any
  166. further speech until either you press a key or five seconds go by with no
  167. attempted output.  You might use timed shutup if you're capturing text in a
  168. terminal program; once the text starts coming, you press Alt-slash and
  169. Tinytalk shuts up until the text stops.  Tinytalk will beep to get your
  170. attention once the output is finished.  You can change the five-second
  171. delay.
  172.  
  173. READ CURRENT LINE
  174.  
  175. Pressing Alt-space will read the line under the cursor.
  176.  
  177. READ CURRENT WORD
  178.  
  179. Pressing Alt-comma will read the word under the cursor (see the discussion
  180. of word terminators in Section 3).  If you press it a second time without
  181. moving the cursor, the word will be spelled out.  If you press it a third
  182. time, the word will be spelled out phonetically ("able," "baker" etc.).  
  183.  
  184. READ CURRENT CHARACTER
  185.  
  186. Pressing Alt-equal will read the character under the cursor.  If you press
  187. it a second time without moving the cursor, the character will be read
  188. phonetically if it's a letter.
  189.  
  190. READ PREVIOUS TWO LINES
  191.  
  192. Pressing Alt-period will read the two lines above the current one.
  193.  
  194. READ ENTIRE SCREEN
  195.  
  196. Pressing Alt-left bracket will read the entire screen
  197.  
  198. CONTINUOUS READ
  199.  
  200. If you're running an application like a word processor, where you can move
  201. through a document using the downarrow key, you can have Tinytalk read you
  202. the entire document.  Pressing Alt-downarrow will cause Tinytalk to read
  203. the current line and then "fake" a downarrow keypress to your application. 
  204. This will continue until you press the Alt key to shut speech up.
  205.  
  206. Speech synthesizers usually have a fair amount of buffering and can receive
  207. characters faster than they can speak them.  As a result, when you stop a
  208. continuous read the cursor is likely to have moved well past the last thing
  209. you heard.  Some synthesizers have a feature called "indexing" which lets
  210. the synthesizer tell Tinytalk whenever it finishes speaking a given line or
  211. word.  If your synthesizer supports indexing and you enable it (see chapter
  212. 4, section 2), Tinytalk will wait for the synthesizer to catch up before
  213. faking the downarrow key, and will make sure that the cursor is in the
  214. right place when you stop a continuous read.  Tinytalk has no way of
  215. knowing that it's reached the bottom of the document, so the last line will
  216. be read over and over again until you press Alt.
  217.  
  218. By default, Tinytalk uses the downarrow key on the numeric keypad rather
  219. than the extra downarrow key found on 101-key keyboards.  This is necessary
  220. because some laptops have keyboards that claim to be "extended" but don't
  221. have all the extra keys.  If you have a 101-key keyboard, you can remap
  222. this to the separate downarrow key; see Chapter 4, Section 7.
  223.  
  224. ANNOUNCE CURSOR POSITION
  225.  
  226. Pressing Alt-minus will announce the row and column where the cursor is.
  227.  
  228. READ CURRENT FORM FIELD
  229.  
  230. If you're using forms mode to fill out a data entry screen (see Section 7),
  231. pressing Alt-backslash will re-read the prompt and field value for the
  232. current field.
  233.  
  234. GO INTO REVIEW MODE
  235.  
  236. Pressing Alt-enter will put Tinytalk into review/control mode.
  237.  
  238. READ A DEFINED WINDOW
  239.  
  240. We'll be talking more about windows in the next chapter, but suffice it to
  241. say that you can define 10 areas of the screen and give them numbers from 0
  242. to 9 (you do this in review mode).  In application mode, you can read any
  243. of them by pressing Alt-0 through Alt-9.
  244.  
  245. SELECT A NEW CONFIGURATION
  246.  
  247. Your synthesizer settings, Tinytalk mode settings, window definitions and
  248. the like are called a configuration.  Configurations will be discussed in
  249. more detail in Chapter 4, Section 5.  Since different programs (or
  250. different parts of a program) often need different settings, Tinytalk lets
  251. you keep 30 configurations in memory at one time; each of them has a
  252. number, and you can also give them names.  To switch to a new
  253. configuration, press Alt-right bracket.  Tinytalk will say "load config"
  254. and then say the name or number of the first configuration (0).  At this
  255. point you have three options: you can enter a number and press ENTER, you
  256. can type in the name of the configuration and press ENTER, or you can step
  257. through the list of configurations by hitting the space bar until you hear
  258. the name or number of the one you want.  Pressing ENTER will pick the
  259. configuration.  If you choose to type in the configuration name, you don't
  260. have to type in all the characters, just enough to let Tinytalk find it. 
  261. For example, if you had a configuration called "DBASE" you could just type
  262. in "DB" (assuming you don't have any other configurations that begin with
  263. "DB").
  264.  
  265. RE-READ AUTOMATIC POP-UP WINDOW
  266.  
  267. Pressing Alt-semicolon will re-read the most-recently read automatic pop-up
  268. window if it's still on the screen (see Section 6).  If more than one
  269. automatic pop-up window is still up, repeatedly pressing the key will read
  270. each one in turn.
  271.  
  272. FORCE SPELLING
  273.  
  274. Pressing Alt-grave accent (the key usually located immediately to the left
  275. of the "1" key) will force the next unit of text you read (line, word,
  276. window, etc.) to be spelled out.  For example, pressing Alt-grave accent
  277. followed by Alt-space would spell out the current line.
  278.  
  279. Pressing Alt-grave accent twice in a row will cause everything to be
  280. spelled out until you turn off "spell all" mode by pressing Alt-grave
  281. accent again.
  282.  
  283. PASS A KEYSTROKE THROUGH
  284.  
  285. Pressing Alt-escape will make Tinytalk ignore the next keystroke.  Use this
  286. if your application program needs one of the above keystrokes.
  287.  
  288. MENU SHORTCUTS
  289.  
  290. In addition to Tinytalk's pre-defined hotkeys, you can define your own
  291. hotkeys for changing Tinytalk's settings.  For example, you might want to
  292. turn case identification on and off from within an application program. 
  293. You could define Alt-C, for example, as a "menu shortcut" hotkey for doing
  294. this; you'll see how in Chapter 4, Section 7.
  295.  
  296. SECTION 5: THE INDEPENDENT CURSOR
  297.  
  298. Tinytalk provides several hotkeys which let you review parts of the screen
  299. without having to go into review mode.  Tinytalk maintains an "independent
  300. cursor" which you can think of as a speech cursor separate from the system
  301. cursor.  For example, if you're editing a document and you want to go back
  302. and check what you wrote a few lines above, you can move the independent
  303. cursor up without losing your place in the document.
  304.  
  305. By default, the independent cursor stays put unless you use one of these
  306. hotkeys to move it.  However, you can set an option so that whenever the
  307. system cursor moves, the independent cursor will follow it (see Chapter 4,
  308. Section 2).
  309.  
  310. Most of the independent cursor keys are arranged in a "triplet" pattern. 
  311. The keys on the middle row move the cursor horizontally by character, the
  312. keys on the top row move the cursor horizontally by word, and three keys
  313. arranged vertically move the cursor up or down (you don't have to stick
  314. with this arrangement; you can remap these keys like any other hotkeys).
  315.  
  316. CHARACTER LEFT AND RIGHT
  317.  
  318. Pressing Alt-j will move the independent cursor left, and alt-l will move
  319. it right.  They will always read a single character.
  320.  
  321. READ CHARACTER
  322.  
  323. Pressing Alt-k will read the character under the independent cursor. 
  324. Repeats will work as they do for the "read current character" hotkey.  Note
  325. that this key is between the character left and right keys. 
  326.  
  327. WORD LEFT AND RIGHT
  328.  
  329. Pressing Alt-u or Alt-o will move the independent cursor left or right one
  330. word.  Note that these are directly above the character left and right
  331. keys.
  332.  
  333. READ WORD
  334.  
  335. Pressing Alt-i will read the word the independent cursor is on.  Repeats
  336. will work as they do for the "read current word" hotkey.  Note that this
  337. key is between the word left and word right keys, and above the read
  338. character key.
  339.  
  340. LINE UP AND DOWN 
  341. Pressing Alt-y or alt-n will move the independent cursor up or down one
  342. line.  They will read whatever you have defined for vertical cursor
  343. movement.
  344.  
  345. READ LINE
  346.  
  347. Pressing Alt-h will read the line the independent cursor is on.  Note that
  348. this key is between the line up and line down keys.
  349.  
  350. BEGINNING AND END OF LINE
  351.  
  352. Pressing Alt-Home will move the independent cursor to the first character
  353. of the line it's on; pressing Alt-End will move it to the last character. 
  354. In either case, the character will be read.  If you have a 101-key
  355. keyboard, the cursorpad Home and End keys are the ones used by default for
  356. these commands.
  357.  
  358. TOP AND BOTTOM OF SCREEN
  359.  
  360. Pressing Alt-PgUp will move the independent cursor to the top left corner
  361. of the screen; pressing Alt-PgDn will move it to the bottom right corner. 
  362. In either case, the line will be read.  Once again, these are the cursorpad
  363. keys rather than the extra keys.
  364.  
  365. ANNOUNCE LOCATION
  366.  
  367. Pressing Alt-p will announce the row and column of the independent cursor.
  368.  
  369. TRACK SYSTEM CURSOR
  370.  
  371. Pressing Alt-t will put the independent cursor where the system cursor is.
  372.  
  373. ROUTE SYSTEM CURSOR
  374.  
  375. Pressing Alt-r will attempt to put the system cursor where the independent
  376. cursor is.  Tinytalk will send "fake" cursor movement keys to the
  377. application to move the application cursor into place.  For this to work,
  378. the cursor keys must move the cursor in the expected directions and the
  379. independent cursor must be in a place where the application can put it
  380. (most word processors won't let you move the cursor to a status line, for
  381. example).  Some database programs will move the cursor horizontally in
  382. response to vertical movement keys, and some editors won't let you put the
  383. cursor on the bottom line of text.  If Tinytalk can't get the cursor into
  384. position, it will say "failed."
  385.  
  386. WINDOW RESTRICTION
  387.  
  388. Ordinarily the independent cursor can be moved anywhere on the screen. 
  389. Sometimes you might want to restrict it to moving within a portion of the
  390. screen; you might be using an application that puts some text in the middle
  391. of the screen, surrounded by irrelevant information.  As you might have
  392. guessed, you do this by using defined windows.  Pressing Alt-apostrophe
  393. will cause Tinytalk to prompt you for a window.  Selecting 0 through 9 will
  394. put the independent cursor on the top left corner of that window and will
  395. restrict the independent cursor to its boundaries.  Pressing Alt-t (track
  396. system cursor) will restore the independent cursor to the full screen.
  397.  
  398. SECTION 6: AUTOMATIC POP-UP WINDOW READING
  399.  
  400. Tinytalk can automatically detect most pop-up windows and read them without
  401. you having to do any setup.  If you have automatic pop-up detection turned
  402. on and an application program draws a box around an area of the screen,
  403. Tinytalk will read the text in the box and try to guess whether the box
  404. contains a lightbar menu.  If it does, moving the cursor will read off the
  405. choices as they're highlighted.
  406.  
  407. When a pop-up window doesn't have a lightbar menu, you have three choices
  408. as to what to do when the text in the window changes.  You can have
  409. Tinytalk do nothing (often the safest choice if the window has a clock
  410. display or something else that constantly changes), read it over again
  411. automatically, or beep on subsequent changes.  The beep option is
  412. especially useful for doing file transfers in communication programs, which
  413. usually pop up a window at the beginning of the transfer and periodically
  414. update it with a progress report.
  415.  
  416. Applications often display more than one boxed window at a time.  If a
  417. newer window overlaps an older one (common in pull-down menu systems),
  418. Tinytalk will suppress re-reading of the older one until the newer one
  419. disappears.  The older window will be re-read as if it just popped up.  If
  420. several non-overlapping windows pop up at the same time, they will all be
  421. read.  Tinytalk has rules for how to read "child" windows (windows that are
  422. completely inside other windows).  If the child window appears at the same
  423. time as it's "parent" window, only the parent will be read.  If a child
  424. window changes or has a lightbar menu, only the child will be read.
  425.  
  426. In determining whether or not a window has a lightbar menu, Tinytalk
  427. normally looks only for changes in background attributes.  If you need to
  428. detect lightbar menus that use only foreground color changes, you can
  429. change a setting (see Chapter ?, Section ?) to force Tinytalk to look at
  430. both foreground and background attributes; however, this increases the
  431. likelihood that the guess will be wrong.  Many applications allow you to
  432. set the colors used in lightbar menus; if you're using one of these, make
  433. sure you set the "highlight" color to a different background color than the
  434. "normal" color.
  435.  
  436. There's a momentary delay between the time a pop-up window appears on the
  437. screen and the time Tinytalk reads it.  This is necessary because some
  438. programs use a visual effect called "exploding windows" where a window is
  439. repeatedly drawn and erased, getting bigger each time.
  440.  
  441. SECTION 7: FORM FILLING
  442.  
  443. Many programs, especially database applications, treat part of the screen
  444. as a form to be filled out, with text prompts followed by highlighted entry
  445. fields.  The cursor, tab and enter keys move the cursor between these
  446. fields.  There are often several fields on the same line.  Tinytalk offers
  447. a "forms mode" to make these data entry screens speak naturally.  
  448. When forms mode is on, Tinytalk watches the cursor to see if it's moving
  449. between fields.  When the cursor moves to a new field, Tinytalk will read
  450. any non-highlighted text before the field and then read the field itself. 
  451. This lets you hear each field prompt (as well as any default value in the
  452. field) in the correct order.  If there are multiple fields on the line, you
  453. will hear only the one you're working on.
  454.  
  455. When you activate forms mode, you need to tell Tinytalk which end of the
  456. field your application puts the cursor on.  For example, programs created
  457. with DBase put the cursor at the beginning (left end) of the field, whereas
  458. Paradox applications put the cursor at the end (right).  Tinytalk needs to
  459. know which is which so it can figure out which is the prompt and which is
  460. the field.
  461.  
  462. As mentioned earlier, you can re-read the field you're on using the "read
  463. current field" hotkey (Alt-backslash).
  464.  
  465. SECTION 8: TEXT HIGHLIGHTING
  466.  
  467. Users who have learning disabilities often find that their reading
  468. comprehension and writing quality improve when they can both see and hear
  469. the text they're working with.  Tinytalk facilitates this by providing a
  470. text highlighting option.  When this is turned on, Tinytalk will visually
  471. highlight each word or line is it's spoken.
  472.  
  473. Tinytalk will highlight all text read in response to cursor movements,
  474. independent cursor commands, review commands, window-reading commands,
  475. continuous reading and automatic window reading.  It won't highlight text
  476. in lightbar menus (since the application will be doing its own
  477. highlighting) or BIOS text.  See Chapter 4, section 2 for more details.
  478.